<?php

namespace app\shop\library\response;

class ResponseCode
{
    const SUCCESS            = ['code' => 200, 'msg' => '请求成功'];
    const FAIL               = ['code' => 500, 'msg' => '服务器内部错误'];
    const UNAUTHORIZED       = ['code' => 401, 'msg' => '未授权认证,请登录'];
    const AUTHORIZED_EXPIRED = ['code' => 409, 'msg' => '授权认证已过期,请重新登录'];
    const NOT_FOUND          = ['code' => 404, 'msg' => '访问资源不存在'];
    const PARAMS_ERROR       = ['code' => 400, 'msg' => '参数错误'];
}